<template>
    <div class="workbench">
        <div class="md:flex">
            <el-card class="!border-none  w-1/3" shadow="never">
                <template #header>
                    <span class="card-title">版本信息</span>
                </template>
                
                
                <div>
                    <div class="flex leading-9">
                        <div class="w-20 flex-none">当前版本</div>
                        <span> {{ workbenchData.version.version }}</span>
                    </div>
                    <div class="flex leading-9">
                        <div class="w-20 flex-none">基于框架</div>
                        <span> {{ workbenchData.version.based }}</span>
                    </div>
                    <div class="flex leading-9">
                        <div class="w-20 felx-none">获取渠道</div>
                        <div>
                            
                            <!--                            target="_blank" 新标签页打开-->
                            <a :href="workbenchData.version.channel.website" target="_blank">
                                <el-button type="success" size="small">新窗口</el-button>
                            </a>
                        
                        </div>
                    </div>
                </div>
            
            </el-card>
        </div>
    </div>

</template>

<script lang='ts' setup>
const workbenchData: any = reactive({
    
    version: {
        version: '1111', // 版本号
        website: '1111', // 官网
        based: '111',
        channel: {
            website: '1111'
        }
    },
    
    
})

</script>

<style lang="scss" scoped>

</style>